LOCAL_PATH := $(call my-dir)

#
# FMOD Ex Shared Library
# 
include $(CLEAR_VARS)

LOCAL_MODULE            := fmodex
LOCAL_SRC_FILES         := fmodex/$(TARGET_ARCH_ABI)/libfmodex.so
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/fmodex/inc

include $(PREBUILT_SHARED_LIBRARY)

#
# SoundTouch Shared Library
# 
include $(CLEAR_VARS)

LOCAL_MODULE            := soundtouch
LOCAL_SRC_FILES         := soundtouch/$(TARGET_ARCH_ABI)/libsoundtouch.so
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/soundtouch/inc

include $(PREBUILT_SHARED_LIBRARY)

#
# Guitar Track Trainer Library
#
include $(CLEAR_VARS)

LOCAL_MODULE           := main
#LOCAL_SRC_FILES        := main.c
LOCAL_SRC_FILES        := main.cpp
LOCAL_LDLIBS 		   := -llog -landroid
LOCAL_SHARED_LIBRARIES := fmodex soundtouch
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/includeandroid

include $(BUILD_SHARED_LIBRARY)
